package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

/**
 * @ClassName AddressBookService
 * @Description 地址簿业务层接口
 * @Author sld
 * @Date 2024/7/12 15:37
 * Version 1.0
 **/
public interface AddressBookService {

    void add(AddressBook addressBook);

    List<AddressBook> list();

    void setDefault(AddressBook addressBook);

    void update(AddressBook addressBook);

    AddressBook getById(Long id);

    AddressBook getDefault();
}
